package homework2;

public class Test2 {
	public static void main(String[] args) {
		int count=0;
		int i=1000;
		while(i>=1000&&i<=100000) {
			if(i%7==0) {
				count++;
			}
			i++;
		}
		System.out.println(count);
	}
}
